<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: ServerPool类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-static-methods">静态 Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_server_pool-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ServerPool类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_server_pool_8h_source.html">ServerPool.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a12a50e25cde8c9244203f209515255b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#a12a50e25cde8c9244203f209515255b4">ServerPool</a> (const <a class="el" href="class_tcp_config.html">TcpConfig</a> &amp;config)</td></tr>
<tr class="memdesc:a12a50e25cde8c9244203f209515255b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个服务池  <a href="class_server_pool.html#a12a50e25cde8c9244203f209515255b4">更多...</a><br /></td></tr>
<tr class="separator:a12a50e25cde8c9244203f209515255b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e5d2d0784bdb5dd2bd485f0c757514f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#a5e5d2d0784bdb5dd2bd485f0c757514f">~ServerPool</a> ()</td></tr>
<tr class="separator:a5e5d2d0784bdb5dd2bd485f0c757514f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affd0799fba666ca47cbcf4b08b203353"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#affd0799fba666ca47cbcf4b08b203353">PostConnect</a> (void *invoker=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>, const char *addr=<a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>, <a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> port=0)</td></tr>
<tr class="memdesc:affd0799fba666ca47cbcf4b08b203353"><td class="mdescLeft">&#160;</td><td class="mdescRight">投递一个连接  <a href="class_server_pool.html#affd0799fba666ca47cbcf4b08b203353">更多...</a><br /></td></tr>
<tr class="separator:affd0799fba666ca47cbcf4b08b203353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b3d853618d2fccf4227e76962a6aa2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#aa6b3d853618d2fccf4227e76962a6aa2">Run</a> ()</td></tr>
<tr class="memdesc:aa6b3d853618d2fccf4227e76962a6aa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动服务  <a href="class_server_pool.html#aa6b3d853618d2fccf4227e76962a6aa2">更多...</a><br /></td></tr>
<tr class="separator:aa6b3d853618d2fccf4227e76962a6aa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f1c48678e43f76c92788bcded61fbd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#a30f1c48678e43f76c92788bcded61fbd">NotifyExit</a> ()</td></tr>
<tr class="memdesc:a30f1c48678e43f76c92788bcded61fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知服务退出  <a href="class_server_pool.html#a30f1c48678e43f76c92788bcded61fbd">更多...</a><br /></td></tr>
<tr class="separator:a30f1c48678e43f76c92788bcded61fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e8550bb26038e7f655a8dafb1f4fee"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#ae3e8550bb26038e7f655a8dafb1f4fee">GetClientTotleSize</a> () const</td></tr>
<tr class="memdesc:ae3e8550bb26038e7f655a8dafb1f4fee"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回client总数量  <a href="class_server_pool.html#ae3e8550bb26038e7f655a8dafb1f4fee">更多...</a><br /></td></tr>
<tr class="separator:ae3e8550bb26038e7f655a8dafb1f4fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef9378764fa316c260dea2be56efc42"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#aeef9378764fa316c260dea2be56efc42">Post</a> (const std::string &amp;clientIden, <a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>(*complete)(void *), void *invoker)</td></tr>
<tr class="memdesc:aeef9378764fa316c260dea2be56efc42"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据客户端标志，在相应的服务类中投递一个用户操作  <a href="class_server_pool.html#aeef9378764fa316c260dea2be56efc42">更多...</a><br /></td></tr>
<tr class="separator:aeef9378764fa316c260dea2be56efc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
静态 Protected 成员函数</h2></td></tr>
<tr class="memitem:adc0967023cf8fc732222408e2ea30492"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#adc0967023cf8fc732222408e2ea30492">_Run</a> (void *invoker)</td></tr>
<tr class="separator:adc0967023cf8fc732222408e2ea30492"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:aa01b927c8becd625417f8db853a9c05d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#aa01b927c8becd625417f8db853a9c05d">delete_class_copy_operator</a> (<a class="el" href="class_server_pool.html">ServerPool</a>)</td></tr>
<tr class="separator:aa01b927c8becd625417f8db853a9c05d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ae8c968b775488ccc5f7e9a2babfb3938"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; std::vector&lt; <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_service.html">Service</a> &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#ae8c968b775488ccc5f7e9a2babfb3938">_servers</a></td></tr>
<tr class="separator:ae8c968b775488ccc5f7e9a2babfb3938"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad224f2bdc4cfbdda3cd06291df8a84d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; std::vector&lt; <a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_c_thread.html">CThread</a> &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#ad224f2bdc4cfbdda3cd06291df8a84d1">_threads</a></td></tr>
<tr class="separator:ad224f2bdc4cfbdda3cd06291df8a84d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72f2b038411f9b731f7f152e812ed3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_tcp_config.html">TcpConfig</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#ac72f2b038411f9b731f7f152e812ed3e">_config</a></td></tr>
<tr class="separator:ac72f2b038411f9b731f7f152e812ed3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a643ab334a61067204b501b508ae771c1"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_server_pool.html#a643ab334a61067204b501b508ae771c1">_curSize</a></td></tr>
<tr class="separator:a643ab334a61067204b501b508ae771c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_server_pool_8h_source.html">ServerPool.h</a> 第 <a class="el" href="_server_pool_8h_source.html#l00012">12</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a12a50e25cde8c9244203f209515255b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12a50e25cde8c9244203f209515255b4">&#9670;&nbsp;</a></span>ServerPool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a> ServerPool::ServerPool </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_tcp_config.html">TcpConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个服务池 </p>

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00010">10</a> 行定义.</p>

</div>
</div>
<a id="a5e5d2d0784bdb5dd2bd485f0c757514f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e5d2d0784bdb5dd2bd485f0c757514f">&#9670;&nbsp;</a></span>~ServerPool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ServerPool::~ServerPool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00021">21</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="adc0967023cf8fc732222408e2ea30492"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc0967023cf8fc732222408e2ea30492">&#9670;&nbsp;</a></span>_Run()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> ServerPool::_Run </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="aa01b927c8becd625417f8db853a9c05d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa01b927c8becd625417f8db853a9c05d">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ServerPool::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_server_pool.html">ServerPool</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae3e8550bb26038e7f655a8dafb1f4fee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3e8550bb26038e7f655a8dafb1f4fee">&#9670;&nbsp;</a></span>GetClientTotleSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t ServerPool::GetClientTotleSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回client总数量 </p>

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00090">90</a> 行定义.</p>

</div>
</div>
<a id="a30f1c48678e43f76c92788bcded61fbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f1c48678e43f76c92788bcded61fbd">&#9670;&nbsp;</a></span>NotifyExit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ServerPool::NotifyExit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通知服务退出 </p>
<dl class="section remark"><dt>备注</dt><dd>此操作将会中断投递io请求，导致Run函数的返回 </dd></dl>

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00082">82</a> 行定义.</p>

</div>
</div>
<a id="aeef9378764fa316c260dea2be56efc42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeef9378764fa316c260dea2be56efc42">&#9670;&nbsp;</a></span>Post()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ServerPool::Post </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>clientIden</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>(*)(void *)&#160;</td>
          <td class="paramname"><em>complete</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据客户端标志，在相应的服务类中投递一个用户操作 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">clientIden</td><td>一个非空标志，若为空则函数不起作用 </td></tr>
    <tr><td class="paramname">complete</td><td>一个完成函数 </td></tr>
    <tr><td class="paramname">invoker</td><td>用户传递的数据指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00101">101</a> 行定义.</p>

</div>
</div>
<a id="affd0799fba666ca47cbcf4b08b203353"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affd0799fba666ca47cbcf4b08b203353">&#9670;&nbsp;</a></span>PostConnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ServerPool::PostConnect </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>invoker</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>addr</em> = <code><a class="el" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td>
          <td class="paramname"><em>port</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>投递一个连接 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">invoker</td><td>传入的用户数据 </td></tr>
    <tr><td class="paramname">addr</td><td>对于服务端无效，对于客户端则为远程的ip地址 </td></tr>
    <tr><td class="paramname">port</td><td>对于服务端无效，对于客户端则为远程的端口 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>备注</dt><dd>如果有多个服务，服务端将会每个服务都进行投递一次(此时投递相当于投递一个accept操作)； 如果为客户端则采用轮询的方式进行交替投递 </dd></dl>

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00038">38</a> 行定义.</p>

</div>
</div>
<a id="aa6b3d853618d2fccf4227e76962a6aa2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6b3d853618d2fccf4227e76962a6aa2">&#9670;&nbsp;</a></span>Run()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ServerPool::Run </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>启动服务 </p>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a> 第 <a class="el" href="_server_pool_8cpp_source.html#l00054">54</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ac72f2b038411f9b731f7f152e812ed3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac72f2b038411f9b731f7f152e812ed3e">&#9670;&nbsp;</a></span>_config</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_tcp_config.html">TcpConfig</a>&gt; ServerPool::_config</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_server_pool_8h_source.html">ServerPool.h</a> 第 <a class="el" href="_server_pool_8h_source.html#l00058">58</a> 行定义.</p>

</div>
</div>
<a id="a643ab334a61067204b501b508ae771c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a643ab334a61067204b501b508ae771c1">&#9670;&nbsp;</a></span>_curSize</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t ServerPool::_curSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_server_pool_8h_source.html">ServerPool.h</a> 第 <a class="el" href="_server_pool_8h_source.html#l00059">59</a> 行定义.</p>

</div>
</div>
<a id="ae8c968b775488ccc5f7e9a2babfb3938"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8c968b775488ccc5f7e9a2babfb3938">&#9670;&nbsp;</a></span>_servers</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;std::vector&lt;<a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_service.html">Service</a>&gt; &gt; &gt; ServerPool::_servers</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_server_pool_8h_source.html">ServerPool.h</a> 第 <a class="el" href="_server_pool_8h_source.html#l00056">56</a> 行定义.</p>

</div>
</div>
<a id="ad224f2bdc4cfbdda3cd06291df8a84d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad224f2bdc4cfbdda3cd06291df8a84d1">&#9670;&nbsp;</a></span>_threads</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;std::vector&lt;<a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_c_thread.html">CThread</a>&gt; &gt; &gt; ServerPool::_threads</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_server_pool_8h_source.html">ServerPool.h</a> 第 <a class="el" href="_server_pool_8h_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/framework/tcp/<a class="el" href="_server_pool_8h_source.html">ServerPool.h</a></li>
<li>H:/project/LibTools/src/framework/tcp/<a class="el" href="_server_pool_8cpp_source.html">ServerPool.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
